package com.fwx.springcloud.config;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * @author : fengwenxiang
 * @date : 2022/6/23 0:05
 * @description：配置类
 */
@Configuration
public class OrderConfig {
//    @LoadBalanced
    @Bean
    public RestTemplate getTemplate(){
        return new RestTemplate();
    }
}
